<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>无标题文档</title>
<script type="text/javascript"src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	font-size: 12px;
	color: #FFFFFF;
}
.STYLE3 {
	font-size: 12px;
	color: #033d61;
    cursor:pointer;
}
-->
</style>
<style type="text/css">
.menu_title SPAN {
	FONT-WEIGHT: bold; LEFT: 3px; COLOR: #ffffff; POSITION: relative; TOP: 2px 
}
.menu_title2 SPAN {
	FONT-WEIGHT: bold; LEFT: 3px; COLOR: #FFCC00; POSITION: relative; TOP: 2px
}

</style>
</head>
<body>
<table width="165" height="100%" border="0" cellpadding="0" cellspacing="0">
  <!-- tr head begin -->
  <tr>
    <td height="28" background="/static/admin/images/main_40.gif">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      		<tr>
        		<td width="19%">&nbsp;</td>
        		<td width="81%" height="20"><span class="STYLE1">管理菜单</span></td>
      		</tr>
    	</table>
    </td>
  </tr>
  <!-- tr head end -->
  <!-- tr body begin -->
  <tr>
    <td valign="top">
    	<table width="151" border="0" align="center" cellpadding="0" cellspacing="0">
          <!-- main menu start -->
          <tr>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="23" background="/static/admin/images/main_47.gif" id="imgmenu1" class="menu_title" onMouseOver="this.className='menu_title2';" onClick="showsubmenu(1)" onMouseOut="this.className='menu_title';" style="cursor:hand">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="18%">&nbsp;</td>
                                <td width="82%" class="STYLE1" id="product">商品</td>
                              </tr>
                            </table>
                		</td>
                    </tr>
                    <tr>
                        <td background="/static/admin/images/main_51.gif" id="submenu1">
                 			<div class="sec_menu" >  
                				<table width="100%" border="0" cellspacing="0" cellpadding="0">
                  					<tr>
                    					<td>
                                        	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                      							<!-- sub menu begin -->
                                                <tr>
                        							<td width="16%" height="25">
                                                    	<div align="center"><img src="/static/admin/images/left.gif" width="10" height="10" /></div>
                                                    </td>
                        							<td width="84%" height="23">
                                                    	<table width="95%" border="0" cellspacing="0" cellpadding="0">
                            								<tr>
                              									<td height="20" style="cursor:hand" onMouseOver="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "onmouseout="this.style.borderStyle='none'"><span class="STYLE3" id="productcategory">商品类别</span></td>
                            								</tr>
                        								</table>
                                                    </td>
                      							</tr>
                                                <!-- sub menu end -->
                      							<!-- sub menu begin -->
                                                <tr>
                        							<td width="16%" height="25">
                                                    	<div align="center"><img src="/static/admin/images/left.gif" width="10" height="10" /></div>
                                                    </td>
                        							<td width="84%" height="23">
                                                    	<table width="95%" border="0" cellspacing="0" cellpadding="0">
                            								<tr>
                              									<td height="20" style="cursor:hand" onMouseOver="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "onmouseout="this.style.borderStyle='none'"><span class="STYLE3" id="product_list">商品</span></td>
                            								</tr>
                        								</table>
                                                    </td>
                      							</tr>
                                                <!-- sub menu end -->
                    						</table>
                                        </td>
                  					</tr>
                  					<tr>
                    					<td height="5"><img src="/static/admin/images/main_52.gif" width="151" height="5" /></td>
                  					</tr>
                				</table>
                          	</div>
                       </td>
                    </tr>
                </table>
            </td>
          </tr>
          <!-- main menu end -->
          <!-- main menu start -->
          <tr>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="23" background="/static/admin/images/main_47.gif" id="imgmenu2" class="menu_title" onMouseOver="this.className='menu_title2';" onClick="showsubmenu(2)" onMouseOut="this.className='menu_title';" style="cursor:hand">
                       		<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="18%">&nbsp;</td>
                                  <td width="82%" class="STYLE1">订单</td>
                                </tr>
                			</table>
                        </td>
                    </tr>
                    <tr>
                        <td background="/static/admin/images/main_51.gif" id="submenu2">
                        	<div class="sec_menu" >
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td>
                                            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td width="16%" height="25">
                                                        <div align="center"><img src="/static/admin/images/left.gif" width="10" height="10" /></div>
                                                    </td>
                                                    <td width="84%" height="23">
                                                        <table width="95%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td height="20" style="cursor:hand" onMouseOver="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "onmouseout="this.style.borderStyle='none'"><span class="STYLE3" id="productorder_list">订单</span></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="5"><img src="/static/admin/images/main_52.gif" width="151" height="5" /></td>
                                    </tr>
                                </table>
                			</div>
                        </td>
                    </tr>
                </table>
            </td>
          </tr>
          <!-- main menu end -->
    	</table>
    </td>
  </tr>
  <!-- tr body end -->
  <!-- tr foot begin -->
  <tr>
    <td height="18" background="/static/admin/images/main_58.gif">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="18" valign="bottom"><div align="center" class="STYLE3">版本：2008V1.0</div></td>
          </tr>
    	</table>
    </td>
  </tr>
  <!-- tr foot end -->
</table>
<script>
var he=document.body.clientHeight-105
document.write("<div id=tt style=height:"+he+";overflow:hidden>")
</script>

<script>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
imgmenu = eval("imgmenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"\";");
imgmenu.background="/static/admin/images/main_47.gif";
}
else
{
eval("submenu" + sid + ".style.display=\"none\";");
imgmenu.background="/static/admin/images/main_48.gif";
}
}
</script>
<script>
    $(document).ready(function(){
        //open the default page for the module
        menu1 = $('#product').text();
        menu2 = $('#productcategory').text();
        window.top.frames["mainFrame"].frames['I2'].frames['I2'].location.href='${request.route_url('admin_productcategory_list')}?role=normal&menu1='+menu1+'&menu2='+menu2;
        //the product category list sub menu
        $('#productcategory').click(function(){
            menu1 = $('#product').text();
            menu2 = $(this).text();
            window.top.frames["mainFrame"].frames['I2'].frames['I2'].location.href='${request.route_url('admin_productcategory_list')}?role=normal&menu1='+menu1+'&menu2='+menu2;
        })
        //the product list sub menu
        $('#product_list').click(function(){
            menu1 = $('#product').text();
            menu2 = $(this).text();
            window.top.frames["mainFrame"].frames['I2'].frames['I2'].location.href='${request.route_url('admin_product_list')}?role=normal&menu1='+menu1+'&menu2='+menu2;
        })
        //the product order sub menu
        $('#productorder_list').click(function(){
            menu1 = $('#product').text();
            menu2 = $(this).text();
            window.top.frames["mainFrame"].frames['I2'].frames['I2'].location.href='${request.route_url('admin_productorder_list')}?role=normal&menu1='+menu1+'&menu2='+menu2;
        })
    })
</script>
</body>
</html>
